from log import log_set
import pytest
import test_A3mall as f
if __name__ == '__main__':
    log_set()
    pytest.main(['test_A3mall.py','-s','--alluredir=./data','--clean-alluredir'])
    import os
    os.system(r"allure generate ./data -0 htmlreport --clean")
    f.sent_e(['./log.log',r"C:\Users\张震海\Desktop\dfs\day19\allure-report\index.html"])